package com.shk.pojo;

import java.util.Date;

/**
 * 记录用户访问记录对应实体类
 */
public class Log4j2Db {

    private Integer id;
    private Integer userId;
    private Date  opDate;
    private String IP;
    private String url;
    private Long opTime;
    private String userNmae;

    @Override
    public String toString() {
        return "Log4j2Db{" +
                "id=" + id +
                ", userId=" + userId +
                ", opDate=" + opDate +
                ", IP='" + IP + '\'' +
                ", url='" + url + '\'' +
                ", opTime=" + opTime +
                ", userNmae='" + userNmae + '\'' +
                '}';
    }

    public String getUserNmae() {

        return userNmae;
    }

    public void setUserNmae(String userNmae) {
        this.userNmae = userNmae;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Date getOpDate() {
        return opDate;
    }

    public void setOpDate(Date opDate) {
        this.opDate = opDate;
    }

    public String getIP() {
        return IP;
    }

    public void setIP(String IP) {
        this.IP = IP;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public long getOpTime() {
        return opTime;
    }

    public void setOpTime(Long opTime) {
        this.opTime = opTime;
    }
}
